<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="verify-v1" content="ZZxqrUae554DQ9GtNaP+CbMrWXtSgaRReZkx1Ufwhmg=" />
	<title>{$title_prefix|escape} | {$pagetitle|escape}</title>

	<link rel="stylesheet" href="{$theme_url}/css/global.css" type="text/css" media="screen, projection" />
	<link rel="stylesheet" href="{$theme_url}/css/nav.css" type="text/css" media="screen, projection" />
	<link rel="stylesheet" href="{$theme_url}/css/colors.css" type="text/css" media="screen, projection" />
	<link rel="stylesheet" href="{$theme_url}/css/print.css" type="text/css" media="print" />
	<!--[if IE]><link rel="stylesheet" href="{$theme_url}/css/bluetrip/css/ie.css" type="text/css" media="screen, projection" /><![endif]-->
	<!-- <link rel="stylesheet" href="{$theme_url}/css/screen.css" type="text/css" media="screen" /> -->

	<link type="image/x-icon" rel="shortcut icon" href="/favicon.ico" />
	<link href="{$site_url}/rss" title="Main news feed" type="application/rss+xml" rel="alternate"/>
	<script type="text/javascript" src="{$theme_url}/js/libraries.js"></script>

</head>
<body class="{$mca}">
	<!-- <div id="accessibility">
		<a href="#nav">Skip to Navigation</a> |
		<a href="#container">Skip to Main Content</a>
	</div> -->
	<div id="header">
	{if $mca eq "default-index-index"}
		<h1 id="logo">Friend Factory</h1>
	{else}
		<h1><a href="/" title="Home" id="logo">Friend Factory</a></h1>
	{/if}
	<div id="utilities">
			<p>
			{if $isLoggedIn}
				{if $isAdmin}
					<a href="/admin" title="Administration">Admin</a>
					<span>|</span>
				{/if}
				Welcome, <a href="/profile/{$loggedInUsername}" title="{$loggedInUsername}">{$loggedInFullName}</a>
				<span>|</span>
				<a href="/auth/logout" title="Logout">Logout</a>
			{else}
				<a href="/auth/login" title="Login">Login</a>
				<span>|</span>
				<a href="/user/register" title="Register for an account" class="alt">Register</a>
			{/if}
			</p>
			<form>
				<input type="text" class="text" name="search"  /><input class="submit" name="submit" type="submit" />
			</form>
			</div>
		<div class="clear"><hr /></div>
	</div>
	<ul id="nav" class="center">		
		<li><a href="/" class="section index">Home</a></li>	
		<li><a href="/user" class="section members">Members</a></li>
		<li><a href="#" class="section forums">Forums</a></li>
		<li><a href="#" class="section blog">Blog</a></li>
	</ul>	
	<div class="clear"><hr /></div>
	<div id="container">
<!--/header-->